/**
 * Created by Administrator on 2016/5/26.
 */
const request = require('supertest');
const app = require('./app');

describe('测试基本的请求', function () {
    it('请求根目录返回一个包含Note的HTML页面',function (done) {
       request(app)
           .get('/')
           .expect('Content-Type', /html/)
           .expect(/ng-app/)
           .expect(/Note/, done);
    });
});